#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
    int a, b, c;
    scanf("%d%d%d", &a, &b, &c);
    if (a < b)
    {
        int tmp = a;
        a = b;
        b = tmp;
    }
    if (a < c)
    {
        int tmp = a;
        a = c;
        c = tmp;
    }
    printf("The maximum number is : %d\n", a);
    b > c ? printf("The minimum number is : %d", c) : printf("The minimum number is : %d", b);
    return 0;
}